package day015.homework.p1;

import java.util.Comparator;

public class ComparatorImp implements Comparator<Integer> {
    @Override
    public int compare(Integer o1, Integer o2) {
        return o1.intValue() < o2.intValue() ? 1 : (o1.intValue() == o2.intValue() ? 0 : -1);
    }
}
